package com.example.cdctest.pojo;

import java.io.Serializable;
import java.util.Date;

public class TestPaperStructure implements Serializable {
    private Integer id;

    /**
	* 考试表
	*/
    private Examination examination;

    /**
	* 类别表
	*/
    private Category category;

    /**
	* 类别问题数量
	*/
    private Integer questionCategoryCount;

    /**
	* 创建时间
	*/
    private Date creatTime;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Examination getExamination() {
        return examination;
    }

    public void setExamination(Examination examination) {
        this.examination = examination;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Integer getQuestionCategoryCount() {
        return questionCategoryCount;
    }

    public void setQuestionCategoryCount(Integer questionCategoryCount) {
        this.questionCategoryCount = questionCategoryCount;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", examinationId=").append(examination);
        sb.append(", categoryId=").append(category);
        sb.append(", questionCategoryCount=").append(questionCategoryCount);
        sb.append(", creatTime=").append(creatTime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}